<?php
include("../CommonClass/GraphMakerLine.php");
$mygraph = new LineMaker;
$mygraph->setL1DataY(array(11,9,2,4,3,13,17));
$mygraph->setL2DataY(array(23,12,5,19,17,10,15));
$mygraph->setDataX(array("テスト1","テスト2","テスト3","テスト4","テスト5","テスト6","テスト7"));
$mygraph->setLineLegend("テスト");
$mygraph->setBarLegend("テスト");
if ($_GET["type"] == "2")
{
	$mygraph->setTitle("折れ線サンプル");
}
else
{
	$mygraph->setTitle("OK");
}

$mygraph->setXtitle("X-タイトル");
$mygraph->setYtitle("Y-タイトル");
$mygraph->graphMake();
?>